package com.gungnir.trial.entity;

import java.io.Serializable;

public class BaseDocument implements Serializable {

    private String id;
    /**
     * 新建时间
     */
    private Long insertTime;
    /**
     * 更新时间
     */
    private Long updateTime;
    /**
     * 删除时间
     */
    private Long deleteTime;
    /**
     * 删除标记
     */
    private Boolean deleted;

    public String getId() {
        return id;
    }

    public BaseDocument setId(String id) {
        this.id = id;
        return this;
    }

    public Long getInsertTime() {
        return insertTime;
    }

    public BaseDocument setInsertTime(Long insertTime) {
        this.insertTime = insertTime;
        return this;
    }

    public Long getUpdateTime() {
        return updateTime;
    }

    public BaseDocument setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
        return this;
    }

    public Long getDeleteTime() {
        return deleteTime;
    }

    public BaseDocument setDeleteTime(Long deleteTime) {
        this.deleteTime = deleteTime;
        return this;
    }

    public Boolean getDeleted() {
        return deleted;
    }

    public BaseDocument setDeleted(Boolean deleted) {
        this.deleted = deleted;
        return this;
    }
}